<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Library Organization</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../index.html" title="Chapter&#160;1.&#160;Boost.Numeric_Bindings">
<link rel="up" href="../index.html" title="Chapter&#160;1.&#160;Boost.Numeric_Bindings">
<link rel="prev" href="tutorial/adapting_your_own_type.html" title="Adapting your own type">
<link rel="next" href="containers.html" title="Containers">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="tutorial/adapting_your_own_type.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="containers.html"><img src="../images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="boost_numeric_bindings.organization"></a><a class="link" href="organization.html" title="Library Organization"> Library Organization</a>
</h2></div></div></div>
<p>
      Boost.Numeric_Bindings is organized as a generic layer between linear algebra
      algorithms and matrix and vector classes. The following hierarchy is available:
    </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
          blas
          <div class="itemizedlist"><ul class="itemizedlist" type="circle">
<li class="listitem">
                level1
              </li>
<li class="listitem">
                level2
              </li>
<li class="listitem">
                level3
              </li>
</ul></div>
        </li>
<li class="listitem">
          lapack
          <div class="itemizedlist"><ul class="itemizedlist" type="circle">
<li class="listitem">
                auxiliary
              </li>
<li class="listitem">
                computational
              </li>
<li class="listitem">
                driver
              </li>
</ul></div>
        </li>
<li class="listitem">
          mumps
        </li>
<li class="listitem">
          umfpack
        </li>
<li class="listitem">
          eigen
        </li>
<li class="listitem">
          glas
        </li>
<li class="listitem">
          mtl
        </li>
<li class="listitem">
          std
        </li>
<li class="listitem">
          ublas
        </li>
</ul></div>
<p>
      The library is header-only, i.e., there is no need to compile or create shared
      library files for it.
    </p>
<p>
      Example
    </p>
<p>
      If you would like to include the whole of BLAS, just do a
    </p>
<p>
      
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">numeric</span><span class="special">/</span><span class="identifier">bindings</span><span class="special">/</span><span class="identifier">blas</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></pre>
<p>
    </p>
<p>
      or, if you desire BLAS level2 only, doing a
    </p>
<p>
      
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">numeric</span><span class="special">/</span><span class="identifier">bindings</span><span class="special">/</span><span class="identifier">blas</span><span class="special">/</span><span class="identifier">level2</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></pre>
<p>
    </p>
<p>
      or, if you only want include per-operation, doing a
    </p>
<p>
      
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">numeric</span><span class="special">/</span><span class="identifier">bindings</span><span class="special">/</span><span class="identifier">blas</span><span class="special">/</span><span class="identifier">level3</span><span class="special">/</span><span class="identifier">gemm</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></pre>
<p>
    </p>
<p>
      will be the most granular level.
    </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2002 -2009 Rutger ter Borg, Kre&#353;imir Fresl, Thomas Klimpel,
      Toon Knapen, Karl Meerbergen<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="tutorial/adapting_your_own_type.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="containers.html"><img src="../images/next.png" alt="Next"></a>
</div>
</body>
</html>
